package com.boot.springboot.service;


import com.boot.springboot.pojo.PendingShipment;

import com.boot.springboot.pojo.dto.PendingShipmentDto;

import java.util.List;

public interface IPendingShipmentService {

    /**
     * 插入商品
     *
     * @param pendingshipment 参数
     * @return
     */
    PendingShipment add(PendingShipmentDto pendingshipment);

    /**
     * 查询商品
     *
     * @param goodId  参数
     * @return
     */

    PendingShipment get(Integer goodId);

    /**
     * 修改商品
     *
     * @param pendingshipment 参数
     * @return
     */

    PendingShipment edit(PendingShipmentDto pendingshipment);

    /**
     * 删除商品
     *
     * @param goodId 参数
     * @return
     */

    void delete(Integer goodId);

    /**
     * 查询所有商品
     *
     * @param
     * @return
     */

    List<PendingShipment> getAllPendingShipments();
}
